package com.thti.mecool.client.command.send.location;

import com.thti.mecool.client.protocol.location.LocationProtocol;
import com.thti.mecool.client.service.Protocol;
import com.thti.mecool.client.service.ThtiService;

public class LocationSend {
	/**
	 * send()
	 */
public static void send(String userLoginName,double latitude,double longitude,String date){
	LocationProtocol lp=new LocationProtocol();
	lp.setLatitude(latitude);
	lp.setLongitude(longitude);
	lp.setUserLoginName(userLoginName);
	lp.setCreatedAt(date);
	ThtiService.sendProtocol(Protocol.getUploadUserLoacte, lp);
}
}
